package com.nlscan.ncomgateway.core.newland.common

object NlsConfig {

    const val DEFAULT_OCR_SEND_RESULT_ACTION = "nlscan.action.OCR_RESULT"

    /**
     * 这里的 result 是做过数据编辑的 result，不使用 OCR 原有的 content
     */
    const val DEFAULT_OCR_SEND_RESULT_EXTRA_REGEX_RESULT = "content"

    /**
     * 置信度extra
     */
    const val DEFAULT_OCR_SEND_RESULT_EXTRA_CONFIDENCE = "confidence"
    /**
     * 所有单字的置信度extra
     */
    const val DEFAULT_OCR_SEND_RESULT_EXTRA_ALL_CONFIDENCE = "allConfidence"
    /**
     * 坐标extra
     */
    const val DEFAULT_OCR_SEND_RESULT_EXTRA_COORDINATE = "coordinate"
    /**
     * OCR详细数据extra
     */
    const val DEFAULT_OCR_SEND_RESULT_EXTRA_ORIGINAL_DATA = "originalData"
    /**
     * 成功图片extra
     */
    const val DEFAULT_OCR_SEND_RESULT_EXTRA_IMAGE = "jpegData"
//    /**
//     * OCR结果是否发送图片
//     */
//    const val DEFAULT_OCR_SEND_RESULT_EXTRA_IMAGE_ENABLE = "true"

}